package com.taxshare.seller.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author cxl
 * @date 2021/8/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_CAR_GOODS_MANAGE)
@ApiModel(description = "机动车商品管理")
public class CarGoodsManageEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("seller_name")
    @ApiModelProperty("公司名称")
    private String sellerName;

    @TableField("seller_tax_no")
    @ApiModelProperty("公司税号")
    private String sellerTaxNo;

    @TableField("company_code")
    @ApiModelProperty("公司编码")
    private String companyCode;


    @TableField("goods_code")
    @ApiModelProperty("商品编码")
    private String goodsCode;

    @TableField("goods_name")
    @ApiModelProperty("商品名称")
    private String goodsName;

    @TableField("car_category_name")
    @ApiModelProperty("车辆类型名称")
    private String carCategoryName;


    @TableField("brand_mode")
    @ApiModelProperty("厂牌型号")
    private String brandMode;

    @TableField("price")
    @ApiModelProperty("单价")
    private BigDecimal price;

    @TableField("production_place_name")
    @ApiModelProperty("产地名称")
    private String productionPlaceName;

    @TableField("production_company_name")
    @ApiModelProperty("生产企业名称")
    private String productionCompanyName;




    @TableField("tax_rate")
    @ApiModelProperty("税率")
    private String taxRate;

    @TableField("model")
    @ApiModelProperty("规格型号")
    private String model;

    @TableField("unit")
    @ApiModelProperty("计量单位")
    private String unit;

    @TableField("tax_code")
    @ApiModelProperty("税收分类编码 ")
    private String taxCode;

    @TableField("tax_name")
    @ApiModelProperty("税收分类名称")
    private String taxName;

    @TableField("duty_free_type")
    @ApiModelProperty("免税类型")
    private String dutyFreeType;

    @TableField("tax_rate_mark")
    @ApiModelProperty("零税率标识")
    private String taxRateMark;

    @TableField("preferential_mark")
    @ApiModelProperty("优惠政策标识")
    private String preferentialMark;

    @TableField("preferential_name")
    @ApiModelProperty("优惠政策名称")
    private String preferentialName;

    @TableField("project_name")
    @ApiModelProperty("项目名称")
    private String projectName;

    @TableField("project_code")
    @ApiModelProperty("项目编码")
    private String projectCode;


    @TableField("mark")
    @ApiModelProperty("页面标识 2->地产 1->商管")
    private String mark;
}
